VirtualTimeScheduler() constructor¶
Defined in
Type: VirtualTimeSchedulerSystem.Reactive.Concurrency
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
protected VirtualTimeScheduler() - 2.
protected VirtualTimeScheduler(TAbsolute initialClock, IComparer<TAbsolute> comparer)
1. Overload¶
protected VirtualTimeScheduler()
Summary: Creates a new virtual time scheduler with the default value of TAbsolute as the initial clock value.
2. Overload¶
protected VirtualTimeScheduler(TAbsolute initialClock, IComparer<TAbsolute> comparer)
Summary: Creates a new virtual time scheduler.
Parameters
| Name | Type | Description |
|---|---|---|
initialClock | TAbsolute | Initial value for the clock. |
comparer | IComparer | Comparer to determine causality of events based on absolute time. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | comparer is null. |